package cc.cix.gt.org.dto.query;

import cc.cix.gt.common.entity.QueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author cix
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "QueryDeptDTO对象", description = "部门查询")
public class QueryDeptReq extends QueryRequest {

    @ApiModelProperty("父级 ID")
    private Long parentId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("是否最后一级")
    private Boolean isLast;

}
